package com.example.pages;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;

import com.example.tests.TestBase;

public abstract class Page extends TestBase{
	public WebDriver driver;
	
	public boolean isOnThisPage(){
		return true;
	}
	
	abstract void tryToOpen();
	
	public WebDriverWait waits(){
		return new WebDriverWait(driver, 10);
	}
}